﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace DraggableWindow
{
    /// <summary>
    /// Defines possible directions a <see cref="DragDropControl"/> can resize.
    /// </summary>
    public enum ResizeDirection
    {
        /// <summary>
        /// No resizing
        /// </summary>
        None=0,

        /// <summary>
        /// Size is increased by dragging up and to the right, and decreased by dragging down and to the left.
        /// </summary>
        NorthEast,
        /// <summary>
        /// Size is increased by dragging up and to the left, and decreased by dragging down and to the right.
        /// </summary>
        NorthWest,
        /// <summary>
        /// Size is increased by dragging down and to the right, and decreased by dragging up and to the left.
        /// </summary>
        SouthEast,
        /// <summary>
        /// Size is increased by dragging down and to the left, and decreased by dragging up and to the right.
        /// </summary>
        SouthWest,
        /// <summary>
        /// North
        /// </summary>
        North,
        /// <summary>
        /// South
        /// </summary>
        South,

        /// <summary>
        /// East
        /// </summary>
        East,

        /// <summary>
        /// West
        /// </summary>
        West,
    }
}
